#if !defined(AFX_INPLACEEDIT_H__2471E7A1_D4B6_11D7_9DE8_0020ED1E9215__INCLUDED_)
#define AFX_INPLACEEDIT_H__2471E7A1_D4B6_11D7_9DE8_0020ED1E9215__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InPlaceEdit.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// InPlaceEdit window

class InPlaceEdit : public CEdit
{
public:
	InPlaceEdit(int iItem,int iSubItem,CString sInitText);

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CInPlaceEdit)
	//}}AFX_VIRTUAL

// Implementation
public:

	BOOL PreTranslateMessage(MSG* pMsg);
	virtual ~InPlaceEdit();

	// Generated message map functions
protected:
	//{{AFX_MSG(CInPlaceEdit)
		// NOTE - the ClassWizard will add and remove member functions here.
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnNcDestroy();
	afx_msg void OnChar(UINT nChar,UINT nRepCnt,UINT nFlags);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
public:
	void SetCurSel();
	BOOL m_bESC;
	int m_iSubItem;
	int m_iItem;
	CString m_sInitText;
	//afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_INPLACEEDIT_H__2471E7A1_D4B6_11D7_9DE8_0020ED1E9215__INCLUDED_)
